package com.hf.cllectiontools;

public class Teacher {
    /**
     * 姓名
     */
    private String teaName;
    /**
     * 学号
     */
    private String teaNum;
    /**
     * 成绩
     */
    private double teaSore;

    public Teacher() {
    }

    public Teacher(String teaName, String teaNum, double teaSore) {
        this.teaName = teaName;
        this.teaNum = teaNum;
        this.teaSore = teaSore;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public String getTeaNum() {
        return teaNum;
    }

    public void setTeaNum(String teaNum) {
        this.teaNum = teaNum;
    }

    public double getTeaSore() {
        return teaSore;
    }

    public void setTeaSore(double teaSore) {
        this.teaSore = teaSore;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teaName='" + teaName + '\'' +
                ", teaNum='" + teaNum + '\'' +
                ", teaSore=" + teaSore +
                '}';
    }
}
